import Vue from "vue";
import App from "./App.vue";
import VueRouter from "./vue-router";
import Home from "./views/Home.vue";
import Login from "./views/Login.vue";

import "./style.less";

Vue.use(VueRouter);

const routes = [
  // {
  //   path: "/",
  //   component: App,
  // },
  {
    path: "/home",
    component: Home,
  },
  {
    path: "/login",
    component: Login,
  },
];

const router = new VueRouter({ routes });

Vue.config.productionTip = false;

new Vue({
  render: (h) => h(App),
  router,
}).$mount("#app");
